package checkers.common.logic.commands;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "JoinGameResponse")
public class JoinGameResponse extends Command{
    
	@XmlElement(required = true)
    private int isJoiningSuccess;
    
	public JoinGameResponse() {
		id = 11;
	}
    
    public int getJoiningSuccess(){
        return this.isJoiningSuccess;
    }
    
    public void setJoiningSuccess(int isJoiningSuccess){
        this.isJoiningSuccess = isJoiningSuccess;
    }
}
